package com.xilihui.xlh.business.entities;

import com.xilihui.xlh.core.app.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/6/28.
 */

public class ShopDetailEntity extends BaseEntity{


    /**
     * pageCount : 1
     * agent : {"id":"8","name":"测试添加门店 归属市代","score":"5","open_time":"08:00:00","close_time":"22:00:00","address":"安索","phone":"13877777666","remark":"","headimg":"","agent_images":[{"img_id":"3","agent_id":"8","image_url":"","is_default":"0","order":"1"},{"img_id":"2","agent_id":"8","image_url":"","is_default":"0","order":"2"},{"img_id":"1","agent_id":"8","image_url":"/public/upload/agent/2018/06-04/f79d4371cddcfb449aee23cb0a59fcc6.jpg","is_default":"1","order":"3"}]}
     * comment : [{"id":"2","user_id":"2628","zan_num":"6","content":"fff2","user":{"user_id":"2628","nickname":"13405927543"}},{"id":"3","user_id":"2628","zan_num":"5","content":"fff3","user":{"user_id":"2628","nickname":"13405927543"}}]
     */

    private int pageCount;
    private String sign_status;
    private AgentBean agent;
    private List<CommentBean> comment;

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public String getSign_status() {
        return sign_status;
    }

    public void setSign_status(String sign_status) {
        this.sign_status = sign_status;
    }

    public AgentBean getAgent() {
        return agent;
    }

    public void setAgent(AgentBean agent) {
        this.agent = agent;
    }

    public List<CommentBean> getComment() {
        return comment;
    }

    public void setComment(List<CommentBean> comment) {
        this.comment = comment;
    }

    public static class AgentBean implements Serializable{
        /**
         * id : 8
         * name : 测试添加门店 归属市代
         * score : 5
         * open_time : 08:00:00
         * close_time : 22:00:00
         * address : 安索
         * phone : 13877777666
         * remark : 
         * headimg : 
         * agent_images : [{"img_id":"3","agent_id":"8","image_url":"","is_default":"0","order":"1"},{"img_id":"2","agent_id":"8","image_url":"","is_default":"0","order":"2"},{"img_id":"1","agent_id":"8","image_url":"/public/upload/agent/2018/06-04/f79d4371cddcfb449aee23cb0a59fcc6.jpg","is_default":"1","order":"3"}]
         */

        private String id;
        private String name;
        private String score;
        private String open_time;
        private String close_time;
        private String address;
        private String lat;
        private String lng;
        private String phone;
        private String remark;
        private String headimg;
        private List<AgentImagesBean> agent_images;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getOpen_time() {
            return open_time;
        }

        public void setOpen_time(String open_time) {
            this.open_time = open_time;
        }

        public String getClose_time() {
            return close_time;
        }

        public void setClose_time(String close_time) {
            this.close_time = close_time;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getHeadimg() {
            return headimg;
        }

        public void setHeadimg(String headimg) {
            this.headimg = headimg;
        }

        public List<AgentImagesBean> getAgent_images() {
            return agent_images;
        }

        public void setAgent_images(List<AgentImagesBean> agent_images) {
            this.agent_images = agent_images;
        }

        public static class AgentImagesBean implements Serializable{
            /**
             * img_id : 3
             * agent_id : 8
             * image_url : 
             * is_default : 0
             * order : 1
             */
            private String image_url;

            public String getImage_url() {
                return image_url;
            }

            public void setImage_url(String image_url) {
                this.image_url = image_url;
            }
            
        }
    }

    public static class CommentBean implements Serializable{
        /**
         * id : 2
         * user_id : 2628
         * zan_num : 6
         * content : fff2
         * user : {"user_id":"2628","nickname":"13405927543"}
         */

        private String id;
        private String user_id;
        private String zan_num;
        private String content;
        private String add_time;
        private UserBean user;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getZan_num() {
            return zan_num;
        }

        public void setZan_num(String zan_num) {
            this.zan_num = zan_num;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class UserBean {
            /**
             * user_id : 2628
             * nickname : 13405927543
             */

            private String user_id;
            private String nickname;
            private String head_pic;

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getHead_pic() {
                return head_pic;
            }

            public void setHead_pic(String head_pic) {
                this.head_pic = head_pic;
            }
        }
    }
}
